package com.zxx.ssm.model.biz;

public class TeaLogBiz {
    private Integer teaId;

    private String teaName;

    private Integer state;

    private String stateFormat;

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateFormat(){
        if (state==null)
            return "待排课";
        if(state==0)
            return "已发布";
        else
            return "待发布";
    }
}
